[−][src]Crate spin
Synchronization primitives based on spinning
Structs
Mutex | This type provides MUTual EXclusion based on spinning. |
MutexGuard | A guard to which the protected data can be accessed |
Once | A synchronization primitive which can be used to run a one-time global initialization. Unlike its std equivalent, this is generalized so that the closure returns a value and it is stored. Once therefore acts something like a future, too. |
RwLock | A reader-writer lock |
RwLockReadGuard | A guard from which the protected data can be read |
RwLockUpgradeableGuard | A guard from which the protected data can be read, and can be upgraded to a writable guard if needed |
RwLockWriteGuard | A guard to which the protected data can be written |